package com.linsir.lin.service;

import com.linsir.lin.pojo.Role;
import com.linsir.lin.pojo.RolePermisson;

import java.util.List;

/**
 * @ProjectName:linsir-lin
 * @Package:com.linsir.lin.service
 * @Title: RolePermissonService
 * @Description: TODO
 * @Create:2021/6/10 9:59 by @author:Linsir
 * @Update:2021/6/10 9:59 by @author:Linsir
 * @UpdateRemark: 初始创建
 * @Version 1.0.0
 */
public interface RolePermissonService {

    /**
     * 根据角色找到角色和权限关系 对象列表
     * @param role
     * @return
     */
    List<RolePermisson> rolePermissons(Role role);
}
